import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({

    routes: [
        {
            path: '/login',

            component: resolve => require(['../components/page/Login.vue'], resolve)
        },
        {
            path: '/',
            component: resolve => require(['../components/common/query.vue'], resolve),
        },
        {
            path: '/result',
            component: resolve => require(['../components/common/Result.vue'], resolve),
        },
        {
            path: '/report',
            component: resolve => require(['../components/common/report.vue'], resolve),
        },
        {
            path: '/sign',
            component: resolve => require(['../components/common/Sign_in.vue'], resolve),
        },
        {
            path: '/reportRecord',
            component: resolve => require(['../components/common/reportRecord.vue'], resolve),
        },
    ]
})
